package com.example.springt334.dao.factory;

import com.example.springt334.dao.UserDao;
import com.example.springt334.dao.impl.UserDaoImpl;

/**
 * 用户DAO工厂，负责用户DAO实例的创建工作
 */
public class UserDaoFactory {
    //负责创建用户DAO实例的方法
    public static UserDao getInstance(){
        UserDao userDao = new UserDaoImpl();
        return userDao;
    }
}
